﻿using VirtualTournaments.DataAccess.EntityManagers;
using VirtualTournaments.DataAccess.EntityManagers.Attributes;

namespace VirtualTournaments.DataAccess.SqlServer.EntityManagers
{
	[EntityManagersFactory]
	public sealed class EntityManagersFactory : IEntityManagersFactory
	{
		#region IEntityManagersFactory Members

		public ITournamentsManager GetTournamentsManager()
		{
			return TournamentsManager.Instance;
		}

		public IJourneysManager GetJourneysManager()
		{
			return JourneysManager.Instance;
		}

        public IUsersManager GetUsersManager()
        {
            return UsersManager.Instance;
        }

		public IBetTypesManager GetBetTypesManager()
		{
			return BetTypesManager.Instance;
		}

		public ITeamsManager GetTeamsManager()
		{
			return TeamsManager.Instance;
		}

        public IMatchesManager GetMatchesManager()
        {
            return MatchesManager.Instance;
        }

        #endregion
    }
}
